﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ZoomEngine.Animation
{
    public class DoubleFromToAnimation : FromToAnimation<double>
    {
        public DoubleFromToAnimation(ClockManager manager) :
            base(manager)
        { 
        }

        protected override double Lerp(double from, double to, float progress)
        {
            return from + (to - from) * progress;
        }
    }
}
